package com.have.blog.model.models;

import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.util.Date;

public class Video implements Serializable {
    @ApiModelProperty(value = "唯一uid")
    private Integer uid;

    @ApiModelProperty(value = "视频封面图片uid")
    private Integer coverPictureUid;

    @ApiModelProperty(value = "资源分类UID")
    private Integer resourceCategoryUid;

    @ApiModelProperty(value = "视频名称")
    private String name;

    @ApiModelProperty(value = "视频简介")
    private String summary;

    @ApiModelProperty(value = "分类介绍")
    private String content;

    @ApiModelProperty(value = "百度云完整路径")
    private String baiduPath;

    @ApiModelProperty(value = "点击数")
    private Integer clickCount;

    @ApiModelProperty(value = "状态")
    private Integer status;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "更新时间")
    private Date updateTime;

    private static final long serialVersionUID = 1L;

    public Integer getUid() {
        return uid;
    }

    public void setUid(Integer uid) {
        this.uid = uid;
    }

    public Integer getCoverPictureUid() {
        return coverPictureUid;
    }

    public void setCoverPictureUid(Integer coverPictureUid) {
        this.coverPictureUid = coverPictureUid;
    }

    public Integer getResourceCategoryUid() {
        return resourceCategoryUid;
    }

    public void setResourceCategoryUid(Integer resourceCategoryUid) {
        this.resourceCategoryUid = resourceCategoryUid;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getSummary() {
        return summary;
    }

    public void setSummary(String summary) {
        this.summary = summary;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getBaiduPath() {
        return baiduPath;
    }

    public void setBaiduPath(String baiduPath) {
        this.baiduPath = baiduPath;
    }

    public Integer getClickCount() {
        return clickCount;
    }

    public void setClickCount(Integer clickCount) {
        this.clickCount = clickCount;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", uid=").append(uid);
        sb.append(", coverPictureUid=").append(coverPictureUid);
        sb.append(", resourceCategoryUid=").append(resourceCategoryUid);
        sb.append(", name=").append(name);
        sb.append(", summary=").append(summary);
        sb.append(", content=").append(content);
        sb.append(", baiduPath=").append(baiduPath);
        sb.append(", clickCount=").append(clickCount);
        sb.append(", status=").append(status);
        sb.append(", createTime=").append(createTime);
        sb.append(", updateTime=").append(updateTime);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}